package com.springboot.dao;

import com.springboot.entity.Booktype;
import org.apache.ibatis.annotations.Delete;
import org.springframework.stereotype.Repository;
import tk.mybatis.mapper.common.Mapper;
@Repository
public interface BookTypeMapper extends Mapper<Booktype> {
    @Delete("delete from booktype where tid=#{tid}")
    int deleteType(long tid);
}
